package com.shallowUniverse.process.utils;

/**
 * @author gs
 * @date create in 2020/12/12 9:52
 */
public enum Constant {
    /**
     * 流程字段
     */
    PROCESS_FIELD("processField"),
    /**
     * 主键字段值
     */
    PRIMARY_KEY("primaryKey"),
    /**
     * 主键字段
     */
    PRIMARY_KEY_FIELD("primaryKeyField"),

    /**
     * 是否驼峰
     */
    UNDERSCORE_TO_CAMEL_CASE("underscoreToCamelCase");

    public final String value;

    Constant(String value) {
        this.value = value;
    }

    /**
     * 审批详情同意
     */
    public static final String AUDIT_ALLOW_SIGN = "Y";

    /**
     * 审批详情拒绝
     */
    public static final String AUDIT_REFUSE_SIGN = "N";
    /**
     * 审批中
     */
    public static final String PROCESS_HANDLE_SIGN = "A";
    /**
     * 审批拒绝
     */
    public static final String PROCESS_REFUSE_SIGN = "B";
    /**
     * 审批通过
     */
    public static final String PROCESS_ALLOW_SIGN = "C";

    /**
     * 大于等于
     */
    public static final String GREAT_EQUALS = ">=";
    /**
     * 小于等于
     */
    public static final String LESS_EQUALS = "<=";
    /**
     * 小于
     */
    public static final String LESS = "<";
    /**
     * 大于
     */
    public static final String GREAT = ">";
    /**
     * 或签
     */
    public static final String OR = "or";
    /**
     * 会签
     */
    public static final String AND = "and";
}
